Analytics - REST API
Specs - Projects Quotation IN - REST API
The REST Projects Quotation IN API allows you to creation Q Projects into Codex :
Request to send absences data to Codex
POST /rest/v1/projects-quotationSecurity
This API is secured by client_id/client_secret. These parameters are to add in the headers of your call:
- client_id: {client_id provided by Dali}
- client_secret: {client_secret provided by Dali}Body Example
{
"description": "TEST Quotation",
"offerNumber": "01",
"companyCode": "F123",
"responsible": "75017441",
"customer": "123450",
"finalCustomer": "123450",
"localCode": "D1H11",
"country": "DE",
"startDate": "2024-03-12",
"endDate": "2024-09-12",
"analyticalCode": "12522",
"price": "500",
"probability": "10"
"level": "3",
"level1": "",
"level2": "",
"level3": "",
"level4": "",
"riskFactor": "",
"riskFactor": "MR00",
"deliveryDateToCustomer": "",
"expectedAnswerDate": "",
"executablePart": "",
"forcastedResult": "10",
"groupingCode": "10000",
"divisionGroupingCode": "",
"poleGroupingCode": "",
"brandGroupingCode": "",
"environmentGroupingCode": "",
"groupGroupingCode": "",
"buGroupingCode2": "",
"forecastGroupingCode": "",
"forecastGroupingCode2": "",
"processLayer1": "A",
"processLayer2": "A01",
"processLayer3": "A0102"
"businessLayer1": "F",
"businessLayer2": "FM1",
"businessLayer3": "FM10A",
"oldWbsElement": "",
"resultsAnalysisKey": ""
}Response of the API
If the request is OK: HTTPS status will be 200 with the project number in the body:
{
"header": {
"version": "1",
"businessEntity": "quotationprojects",
"correlationId": "11111-22222-33333-44444,
"conversationId": "ab7cdcd7-b71a-4554-87e8-61bdea42ab28"
},
"data": {
"projectNumber": "Q.1234567.1.01",
"recordDate": "Thu Jun 27 00:00:00 GMT 2024"
},
"error": {
"code": "",
"type": "",
"message": ""
}
}If the request is KO: HTTPS status will be 400